import {KuiOverlayProps} from './type';
import {PropType} from 'vue';
import * as size from '@/common/theme/size';

export default {
	/**
	 * 层级
	 */
	zIndex: {
		type: Number,
		default: 99
	},
	/**
	 * 填充内容
	 */
	vnode: {
		type: String,
		default: ''
	},
	/**
	 * 填充内容是否居中显示
	 */
	vnodeCenter: {
		type: Boolean,
		default: false
	},
	/**
	 * 圆角大小
	 */
	radiusSize: {
		type: String as PropType<KuiOverlayProps['radiusSize']>,
		default: 'none' as KuiOverlayProps['radiusSize']
	},
	/**
	 * 磨砂玻璃效果
	 */
	blur: {
		type: Boolean,
		default: false
	},
	/**
	 * 是否显示
	 */
	show: {
		type: Boolean,
		default: false
	},
	/**
	 * 单击遮罩是否关闭
	 */
	closeOnClickMask: {
		type: Boolean,
		default: true
	},
	/**
	 * 遮罩透明度
	 */
	overlayNess: {
		type: Number,
		default: size.shadeOpenness
	}
}